<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <th:block th:include="common.html :: source"></th:block>
</head>
<body>

<th:block th:include="common.html :: header"></th:block>
<th:block th:include="common.html :: category"></th:block>

<div class="i_bg">
    <div class="content mar_20">
        <div id="favoriteList"></div>
        <div class="l_list" th:if="${productList.size()} > 0">
            <div class="list_c">
                <ul class="cate_list">
                    <li th:each="product:${productList}">
                        <div class="name">
                            <a th:href="'/product/integralOne/'+${product.id}">[[${product.name}]]</a>
                        </div>
                        <div class="price">
                            <font>积分:<span>[[${product.integral}]]</span></font> &nbsp;
                        </div>
                        <div class="img">
                            <a th:href="'/product/integralOne/'+${product.id}">
                                <img th:src="'/images/'+ ${product.fileName}" width="185"
                                     height="155"/>
                            </a>
                        </div>
                        <div class="carbg">
                            <a th:href="'/product/integralOne/'+${product.id}" class="j_car" style="margin-left: 35px">&nbsp;&nbsp;兑换</a>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="l_list" style="height: 366px;" th:if="${productList.size()} == 0">
            <div class="list_c">
                <div class="cate_list">
                    <span style="margin-left: 330px;line-height: 336px;font-size: 30px;color: red;">没有此类商品!</span>
                </div>
            </div>
        </div>
    </div>
</div>

<th:block th:include="common.html :: footer"></th:block>
<th:block th:include="common.html :: permit"></th:block>

</body>
</html>